{% load static %}
{% load mytag %}
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <meta name="description" content="HaiBao mp">
    <meta name="author" content="">
    <title>YYZB</title>
    <title>{% block title %}{% endblock title %}</title>

    <!-- Le styles -->
    <link rel="shortcut icon" type="image/png" href="https://res.yyzb.com/haibao_icon_xs.png"/>
    <link href="{% static 'fontawesome-5.8.1/css/all.css' %}" rel="stylesheet">
    <link href="https://res.wx.qq.com/open/libs/weui/1.1.3/weui.min.css" rel="stylesheet">
    <link href="{% static 'css/example.css' %}" rel="stylesheet">

    <!-- Use this to quickly test CSS changes in a template,
            then move to project.css -->
    <link href="{% static 'css/project.css' %}" rel="stylesheet">
    {% block extra_css %}{% endblock extra_css %}
</head>

<body ontouchstart="" class="bg3">
    <div class="weui-toptips weui-toptips_warn js_tooltips">错误提示</div>

    <!--BEGIN toast-->
    <div id="toast" style="display: none;">
        <div class="weui-mask_transparent"></div>
        <div class="weui-toast">
            <i class="weui-icon-success-no-circle weui-icon_toast"></i>
            <p class="weui-toast__content" id="toast-content">已完成</p>
        </div>
    </div>
    <!--end toast-->

    <!--BEGIN dialog-->
    <div id="dialogs">
        <div class="js_dialog" id="confirmDialog" style="display: none;">
            <div class="weui-mask"></div>
            <div class="weui-dialog">
                <div class="weui-dialog__hd"><strong class="weui-dialog__title" id="confirm-dialog-title">title</strong></div>
                <div class="weui-dialog__bd" id="confirm-dialog-message">desp</div>
                <div class="weui-dialog__ft">
                    <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_default">取消</a>
                    <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary">确定</a>
                </div>
            </div>
        </div>
    </div>
    <!--end dialog-->

    <!-- Content =================================================================== -->
    <div id="app">
        {% block content %}
        {% endblock content %}
    </div>

    <!-- Mainly scripts ======================================================================== -->
    <script src="{% static 'js/jquery-3.1.1.min.js' %}"></script>
    <script src="{% static 'js/axios.min.js' %}"></script>

    <script src="{% static 'js/zepto.min.js' %}"></script>
    <script src="{% static 'js/jweixin-1.0.0.js' %}"></script>
    <script src="{% static 'js/weui.min.js' %}"></script>

    <!-- place project specific Javascript in this file -->
    <script src="{% static 'js/project.js' %}"></script>
    <script>
        $.ajaxSetup({ data: { csrfmiddlewaretoken: '{{ csrf_token }}' }, });
        axios.defaults.xsrfHeaderName = "X-CSRFTOKEN";
        axios.defaults.xsrfCookieName = "csrftoken";
    </script>

    {% block extra_js %}{% endblock extra_js %}
</body>

</html>